From: Matthew Barnes Date: Tue, 5 May 2015 15:38:16 +0000 (-0400) Subject: Use g_autoptr(GChecksum) instead of gs_free_checksum X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~753 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3f044267b5d31041ca76ee21f02b1fb7abc0e008;p=ostree.git Use g_autoptr(GChecksum) instead of gs_free_checksum --- diff --git a/src/libostree/ostree-repo-static-delta-compilation.c b/src/libostree/ostree-repo-static-delta-compilation.c index 614ae53e..854008f3 100644 --- a/src/libostree/ostree-repo-static-delta-compilation.c +++ b/src/libostree/ostree-repo-static-delta-compilation.c @@ -1300,7 +1300,7 @@ ostree_repo_static_delta_generate (OstreeRepo *self, GBytes *payload_b; GBytes *operations_b; g_autofree guchar *part_checksum = NULL; - gs_free_checksum GChecksum *checksum = NULL; + g_autoptr(GChecksum) checksum = NULL; gs_unref_bytes GBytes *objtype_checksum_array = NULL; gs_unref_bytes GBytes *checksum_bytes = NULL; g_autoptr(GFile) part_tempfile = NULL;